LearnPress\Models\UserItems\UserQuizModel A

Total Complexity 73
Dependencies 14
Dependents 2
Total lines 592
Lines of code 351
Logical lines of code 201
Comment lines 163
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
calculate_quiz_result()
B
36 15 84
check_can_start()
A
42 10 53
check_can_retake()
A
45 10 40
get_history()
S
56 6 18
get_result()
S
50 5 31
get_attempts()
S
57 5 16
retake()
S
50 3 28
get_time_remaining()
S
59 3 15
start_quiz()
S
62 2 11
get_question_ids()
S
65 2 9
get_remaining_retake()
S
64 2 10
get_checked_questions()
S
65 2 10
get_time_spend()
S
67 2 8
get_status()
S
82 1 3
get_quiz_post_model()
S
79 1 3
get_user_course_model()
S
79 1 3
get_retaken_count()
S
79 1 3
get_course_model()
S
79 1 3
__construct()
S
80 1 3